MAKE = make
VERSION = @VERSION@
SRCDIR = @srcdir@
CC = @CC@
CFLAGS = @CFLAGS@ @DEFS@
LDFLAGS = @LDFLAGS@
LIBS = @LIBS@
DLIB = ../dlib/libdlib.a

prefix = @prefix@
bindir = @bindir@
sbindir = @sbindir@
mandir = @mandir@
sysconfdir = @sysconfdir@
datarootdir = @datarootdir@

FILES = email.o addr_parse.o addy_book.o conf.o error.o execgpg.o file_io.o \
        message.o mimeutils.o processmail.o progress_bar.o \
	remotesmtp.o sig_file.o smtpcommands.o utils.o

all: $(FILES)
	$(CC) $(CFLAGS) -o email $(FILES) $(OTHER_FILES) $(DLIB) $(LDFLAGS) $(LIBS)

clean:
	rm -f *.o *.d email

clean-all:
	rm -rf Makefile *.o *.d email

